package ${package.Entity}.param;

import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

<#list table.importPackages as pkg>
import ${pkg};
</#list>
import java.io.Serializable;

/**
* <p>
* 修改${table.comment!}参数
* </p>
*
* @author ${author}
* @since ${date}
*/
@Data
@ApiModel(value="修改${table.comment}", description="修改${table.comment!}")
public class ${entity}UpdateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID",required =true)
    private Long id;

<#-- ----------  BEGIN 字段循环遍历  ---------->
<#list table.fields as field>
    <#if field.propertyName=='updatedtime'||field.propertyName=='createdby'||field.propertyName=='createdtime'||field.propertyName=='updateby'||field.propertyName=='updateby'||field.propertyName=='modifiedby'||field.propertyName=='modifiedtime'>
    <#else>
    <#if field.keyFlag>

	<#elseif field.comment!?length gt 0>
        <#if swagger2>
    @ApiModelProperty(value = "${field.comment}")
        <#else>
    /**
     * ${field.comment}
     */
        </#if>
    </#if>
    private ${field.propertyType} ${field.propertyName};
    </#if>
</#list>

}
